home *** CD-ROM | disk | FTP | other *** search
/ PC World Komputer 2010 April / PCWorld0410.iso / pluginy Firefox / 59338 / 59338.xpi / chrome / global / filepicker.css < prev    next >
Cascading Style Sheet File  |  2009-12-20  |  4KB  |  134 lines

  1. /* ***** BEGIN LICENSE BLOCK *****
  2.  * Version: MPL 1.1/GPL 2.0/LGPL 2.1
  3.  *
  4.  * The contents of this file are subject to the Mozilla Public License Version
  5.  * 1.1 (the "License"); you may not use this file except in compliance with
  6.  * the License. You may obtain a copy of the License at
  7.  * http://www.mozilla.org/MPL/
  8.  *
  9.  * Software distributed under the License is distributed on an "AS IS" basis,
  10.  * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
  11.  * for the specific language governing rights and limitations under the
  12.  * License.
  13.  *
  14.  * The Original Code is Mozilla Communicator client code, released
  15.  * March 31, 1998.
  16.  *
  17.  * The Initial Developer of the Original Code is
  18.  * Netscape Communications Corporation.
  19.  * Portions created by the Initial Developer are Copyright (C) 1998-2001
  20.  * the Initial Developer. All Rights Reserved.
  21.  *
  22.  * Contributor(s):
  23.  *   Joe Hewitt (hewitt@netscape.com)
  24.  *   Brian Ryner (bryner@brianryner.com)
  25.  *
  26.  * Alternatively, the contents of this file may be used under the terms of
  27.  * either the GNU General Public License Version 2 or later (the "GPL"), or
  28.  * the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
  29.  * in which case the provisions of the GPL or the LGPL are applicable instead
  30.  * of those above. If you wish to allow use of your version of this file only
  31.  * under the terms of either the GPL or the LGPL, and not to allow others to
  32.  * use your version of this file under the terms of the MPL, indicate your
  33.  * decision by deleting the provisions above and replace them with the notice
  34.  * and other provisions required by the GPL or the LGPL. If you do not delete
  35.  * the provisions above, a recipient may use your version of this file under
  36.  * the terms of any one of the MPL, the GPL or the LGPL.
  37.  *
  38.  * ***** END LICENSE BLOCK ***** */
  39.  
  40. /* ===== filepicker.css =================================================
  41.   == Styles used by the File Picker dialog.
  42.   ======================================================================= */
  43.  
  44. @import url("chrome://global/skin/");
  45.  
  46. @namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
  47.  
  48. /* ::::: column widths ::::: */
  49.  
  50. #FilenameColumn,
  51. #ContentLengthColumn,
  52. #LastModifiedDateColumn {
  53.   width: 100px;
  54. }
  55.  
  56. /* ::::: file/directory items ::::: */
  57.  
  58. treechildren::-moz-tree-image(FilenameColumn, directory) {
  59.   list-style-image: url("chrome://global/skin/icons/folder-item.png");
  60.   -moz-image-region: rect(0px, 32px, 16px, 16px);
  61. margin-right:5px;
  62. }
  63.  
  64. treechildren::-moz-tree-image(FilenameColumn, file) {
  65.   list-style-image: url("chrome://global/skin/icons/folder-item.png");
  66.   -moz-image-region: rect(16px, 16px, 32px, 0px);
  67. margin-right:5px;
  68. }
  69.  
  70. /* ::::: button items ::::: */
  71.  
  72. /* up-button */
  73.  
  74. .up-button {
  75.   list-style-image: url("chrome://global/skin/filepicker/up.png");
  76.   -moz-image-region: auto;
  77. }
  78.  
  79. .up-button:hover {
  80.   list-style-image: url("chrome://global/skin/filepicker/up.png");
  81.   -moz-image-region: auto;
  82. }
  83.  
  84. /* home-button */
  85.  
  86. .home-button {
  87.   list-style-image: url("chrome://global/skin/filepicker/gohome.png");
  88.   -moz-image-region: auto;
  89. }
  90.  
  91. .home-button:hover {
  92.   list-style-image: url("chrome://global/skin/filepicker/gohome.png");
  93.   -moz-image-region: auto;
  94. }
  95.  
  96. /* new-dir-button */
  97.  
  98. .new-dir-button {
  99.   list-style-image: url("chrome://global/skin/filepicker/folder_new.png");
  100.   -moz-image-region: auto;
  101. }
  102.  
  103. .new-dir-button:hover {
  104.   list-style-image: url("chrome://global/skin/filepicker/folder_new.png");
  105.   -moz-image-region: auto;
  106. }
  107.  
  108. textbox {
  109. margin:5px;
  110. min-height:22px;
  111. padding:0;
  112. border: 3px solid !important;
  113. -moz-border-radius: 4px;
  114. background-color:#ffffff;
  115. -moz-border-top-colors:#a8a8a8 #dadada #fcfcfc !important;
  116. -moz-border-bottom-colors:#d9d8d8 transparent transparent !important;
  117. -moz-border-left-colors:#d3d3d3 #fafafa transparent !important;
  118. -moz-border-right-colors:#d4d4d4 #fafafa transparent !important;
  119. }
  120.  
  121. textbox:hover {
  122. -moz-border-top-colors:#79b7fc #aac9ec #e8f2fd !important;
  123. -moz-border-bottom-colors:#7bb8fd #bddcff #eaf4ff !important;
  124. -moz-border-left-colors:#7bb9fd #bad9fc #eaf4ff !important;
  125. -moz-border-right-colors:#7cb9fe #bad9fc #eaf4ff !important;
  126. }
  127.  
  128. textbox[focused="true"] {
  129. -moz-border-top-colors:#3076c6 #85a8d1 #dde7f5 !important;
  130. -moz-border-bottom-colors:#3278c7 #98bbe4 #dfe9f7 !important;
  131. -moz-border-left-colors:#3278c7 #95b8e1 #dfe9f7 !important;
  132. -moz-border-right-colors:#3379c8 #95b8e1 #dfe9f7 !important;
  133. }
  134.